package class2;

public class Circle extends Shape {
    private int ir;

    public int getIr() {
        return ir;
    }

    public void setIr(int ir) {
        this.ir = ir;
    }

    @Override
    public void show() {
        super.show();
        System.out.println("半径是"+ir);
    }

    public Circle(int x, int y, int ir) {
        super(x, y);
        this.ir = ir;
    }
}
